import React from "react";
import { render } from "react-dom";
import {Provider} from "mobx-react";
import {message} from "antd";
import "@assets/styles/index.scss";
import "antd/dist/antd.css";
import RootStore from "./store";
import App from "./App";
window.React = React;
const store = new RootStore();
message.config({
    duration: 2,
    maxCount: 1
});
render(<Provider store={ store }>
    <App />
</Provider>, document.getElementById("app"));